home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
AIncludes
/
NuBus.a
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
83 lines
;
; File: NuBus.a
;
; Contains: NuBus I/O Interfaces
;
; Version: Technology: xxx Put version info here xxx
; Release: Universal Interfaces 3.0d3 on Copland DR1
;
; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
;
; Bugs?: If you find a problem with this file, send the file and version
; information (from above) and the problem description to:
;
; Internet: apple.bugs@applelink.apple.com
; AppleLink: APPLE.BUGS
;
;
IF &TYPE('__NUBUS__') = 'UNDEFINED' THEN
__NUBUS__ SET 1
IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
include 'Types.a'
ENDIF
IF &TYPE('__SLOTS__') = 'UNDEFINED' THEN
include 'Slots.a'
ENDIF
IF FOR_SYSTEM8_PREEMPTIVE THEN
;
; *
; * kSpaceCode -
; *
; * Bitfield definitions for the "reg" and "assigned-adderesses"
; * properties found in the device portion of the NameRegistry
; *
;
kSpaceCodeMask EQU $03000000
kSpaceCodeMem64 EQU $03000000
kSpaceCodeMem32 EQU $02000000
kSpaceCodeIO EQU $01000000
kSpaceCodeConfig EQU $00000000
kDeviceCodeMask EQU $000000FF
; typedef UInt32 EncodeInt
EncodePhys RECORD 0
hi ds.l 1 ; offset: $0 (0)
mid ds.l 1 ; offset: $4 (4)
lo ds.l 1 ; offset: $8 (8)
sizeof EQU * ; size: $C (12)
ENDR
EncodeSize RECORD 0
hi ds.l 1 ; offset: $0 (0)
lo ds.l 1 ; offset: $4 (4)
sizeof EQU * ; size: $8 (8)
ENDR
;
; * PropertyReg & PropertyAssignedAddresses -
; *
; * The struct format definitions for the "reg" and
; * "assigned-addresses" NameRegistry properties.
; *
;
PropertyReg RECORD 0
phys ds EncodePhys ; offset: $0 (0)
size ds EncodeSize ; offset: $C (12)
sizeof EQU * ; size: $14 (20)
ENDR
MotherboardReg RECORD 0
base ds.l 1 ; offset: $0 (0)
length ds.l 1 ; offset: $4 (4)
sizeof EQU * ; size: $8 (8)
ENDR
;
; * Family service category and name declarations
; * (that's it for now)
; *
;
kServiceCategoryNuBus EQU 'nbus'
ENDIF
ENDIF ; __NUBUS__